<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/wondershare/js/jquery.js"></script> 
<link href="/wondershare/styles/main.css" rel="stylesheet" type="text/css" />
<link href="/wondershare/styles/general.css" rel="stylesheet" type="text/css" />
<title>在线帮助管理</title>
</head>
<body >
<h1>
<span class="action-span">
<a href="/wondershare/faq_syn.php?action=syn_help&web_type=<{$web_type}>">同步在线帮助</a>
</span>
<span class="action-span">
<a href="/wondershare/faq_new.php?action=product_related&web_type=<{$web_type}>">生成产品相关模板</a>
</span>

</h1>
<form id="myform" name="myform" method="POST" action="/wondershare/faq_online_help.php?action=index&web_type=<{$web_type}>">

    <img height="22" border="0" width="26" alt="SEARCH" src="images/icon_search.gif">
        <!-- 分类 -->
    状态： <select name="help_status" style="width:150px;">
	<option value="all">请选择状态</option>
    <option <{if $help_status == '0'}> selected="selected" <{/if}> value="0">未发布</option>
    <option <{if $help_status == '1'}> selected="selected" <{/if}> value="1">发布</option>
	</select>
    <!-- 推荐 -->
    是否视频： <select name="help_video" >
           	 <option value='all' >请选择是否是视频</option>
  		 	 <option  <{if $help_video == '0'}> selected="selected" <{/if}> value="0">否</option>
             <option <{if $help_video == '1'}> selected="selected" <{/if}> value="1">是</option>
              </select>  
		  
    帮助ID<input type="text" size="5" name="help_id" value="<{$help_id}>">
	cbs产品id：<input type="text" size="5" name="p_cbsid" value="<{$p_cbsid}>">
    主题：<input type="text"  style="width:200px;" name="help_title" value="<{$help_title|escape}>">
    <input type="submit" class="button" name="search" value=" 搜索 ">

</form>
<table width="100%" cellspacing="1" cellpadding="2" id="list-table" class="list-div">
<tbody>
  <tr>
    <th align="center">帮助ID</th>
	<th align="center">主题</th>
	<th align="center">发布状态</th>
	<th align="center">是否是视频</th>
	<th align="center">创建时间</th>
	<th align="center">发布时间</th>
	<th align="center">提交人编号</th>
	<th align="center">发布人编号</th>
	<th align="center">浏览次数</th>
	<th align="center">编辑</th>

  </tr>
<{foreach from=$help_info item=rows}>
  <tr align="center"  id="tr_<{$rows.id}>">
	<td width="10%" align="center">
    <{$rows.id}>
	</td>
	<td width="20%" align="center">
    <{$rows.title|escape}>
	</td>
	<td width="10%" align="center">
    <{if $rows.status == 0}>未发布<{else}>发布<{/if}>
	</td>
	<td width="10%" align="center">
    <{if $rows.is_video == 1}>是<{else}>否<{/if}>
	</td>
	<td width="10%" align="center">
	<{$rows.created}>
	</td>
	<td width="10%" align="center">
	<{$rows.released}>
	</td>
 	<td width="10%" align="center">
    <{$rows.submit_ws_id}>
	</td>  
	<td width="10%" align="center">
    <{$rows.release_ws_id}>
	</td> 
	<td width="5%" align="center">
     <{$rows.hits}>
	</td> 
	<td width="5%" align="center">
	<a href="/wondershare/faq_online_help.php?action=edit&act=edit&help_id=<{$rows.id}>&web_type=<{$web_type}>" > 查看 </a>&nbsp;&nbsp;
    </td>
  </tr>
 <{/foreach}>
  <tr >
	    <td colspan="11"  ><div style="margin-left:10px;">
		 <{$page_url}> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 共有 <span id="total"><{$total}> </span>条记录</div></td>
	</tr>
  </tbody>
</table>
</body>
</html>